public void testActionValidation() throws ValidationException {
DefaultActionValidatorManager validator = new DefaultActionValidatorManager();
ValidateableAction action = new ValidateableAction();
action.setParam(new Param());
...
validator.validate(action, "contextName");
assertTrue(action.hasErrors()); assertFalse(action.hasErrors()); }